/**
 * 
 */
package com.google.code.cisx.client.dto;

import java.io.Serializable;
import java.util.Date;

/**
 * Consolidates common properties for domain model instances.
 * 
 * @author <a href='mailto:rahul.thakur.xdev@gmail.com'>Rahul Thakur</a>
 * @since 1.0
 * @version $Id: CommonViewHelper.java 138 2008-01-24 08:45:19Z
 *          rahul.thakur.xdev $
 */
public abstract class CommonViewHelper implements Serializable {

  private Long id;

  /**
   * XXX: Would we need this?
   */
  private Long objectVersion;

  private Date dateCreated;

  private Date dateUpdated;

  private String modelEncoding = "UTF-8";

  /**
   * @return the id
   */
  public Long getId() {
    return id;
  }

  /**
   * @param id the id to set
   */
  public void setId(Long id) {
    this.id = id;
  }

  /**
   * @return the objectVersion
   */
  public Long getObjectVersion() {
    return objectVersion;
  }

  /**
   * @param objectVersion the objectVersion to set
   */
  public void setObjectVersion(Long objectVersion) {
    this.objectVersion = objectVersion;
  }

  /**
   * @return the dateCreated
   */
  public Date getDateCreated() {
    return dateCreated;
  }

  /**
   * @param dateCreated the dateCreated to set
   */
  public void setDateCreated(Date dateCreated) {
    this.dateCreated = dateCreated;
  }

  /**
   * @return the dateUpdated
   */
  public Date getDateUpdated() {
    return dateUpdated;
  }

  /**
   * @param dateUpdated the dateUpdated to set
   */
  public void setDateUpdated(Date dateUpdated) {
    this.dateUpdated = dateUpdated;
  }

  /**
   * @return the modelEncoding
   */
  public String getModelEncoding() {
    return modelEncoding;
  }

  /**
   * @param modelEncoding the modelEncoding to set
   */
  public void setModelEncoding(String modelEncoding) {
    this.modelEncoding = modelEncoding;
  }

}
